package org.future.dataanalysis;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.future.dataanalysis.bean.DataUnit;
import org.future.dataanalysis.bean.State;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author Dongwei-Chen
 * @Date 2023/12/19 11:33
 * @Description
 */
public interface BaseObjectAnalysis extends Serializable {

    boolean association(DataUnit data, Map<String, String> redisMap);

    List<DataUnit> analysis(String dataItemId, DataUnit data, JSONObject json, State<?> state);
}
